//请求后台的方法
import request from '@/request'

//维护角色权限表信息
export function updateRolePermission(data){
  return request({
    url:'/rolePermission/updateRolePermission',
    method: 'post',
	data
  })
}

//获取角色对应权限信息
export function getPermissionInfoByRoleId(params){
  return request({
    url:'/rolePermission/getPermissionInfoByRoleId',
    method: 'post',
	params: params
  })
}